package com.example.questionnaire.mbg.entity;

import com.example.questionnaire.dto.WantDTO;
import com.example.questionnaire.mbg.entity.Enum.QuestionTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Question implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;

    private String content;
    private String description;

    private Boolean nullable;
    private Integer questionNumber;

    private QuestionTypeEnum questionType;

    private Integer receiveCnt;
    private Integer score;

    private String uuid;
    private WantDTO wants;
    private Boolean hide;
    private String interlockCombinator;
    // 外键
    private Integer questionnaireId;
}